package com.boot.sentinelHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.entities.CommonResult;
import com.entities.Payment;

/**
 * Description:
 *
 * @Autor: Rolin
 * datetime: 05-08-21:47
 */
public class FallBack1 {

    public static CommonResult<Payment> test02(Integer id,BlockException blockException){
        return new CommonResult<Payment>("fallback exception ， 服务异常熔断",448,new Payment(4L,"errorSerial"));
    }
}
